package com.tedu;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author：毕龙
 * Date: 2023/12/20 20:23
 * @RestController Controller ResponseBody
 * 该类是一个控制器类 响应的内容是一个JSON字符串
 */
@RestController
public class HelloSpringBootController {

    @RequestMapping("/hello")
    public String hello(){
        return "<h1>Hello Quick SpringBoot!!!</h1>";
    }

}
